const express = require('express')
const app = express()

app.get('/server', (request, response) => {
    response.setHeader('Access-Control-Allow-Origin', '*')
    response.send('你好啊ajax')
})

app.listen(8888, () => {
    console.log('8888端口监听中')
})